package com.example.ddcoursequery;

import com.app.model.Course;

import java.io.Serializable;

/**
 * Created by admin on 2015/12/15.
 */
public class AppCourse extends Course implements Serializable {
    private String id;
    private String semester;
    private String weekday;
    private String squence;
    private String content;
    private String classroom;
    private String classname;
    private String number;

    public AppCourse() {

    }

    public AppCourse(Course course, String id) {
        this.id = id;
        this.semester = course.getSemester();
        this.weekday = course.getWeekday();
        this.squence = course.getSquence();
        this.content = course.getContent();
        this.classroom = course.getClassroom();
        this.classname = course.getClassname();
        this.number = course.getNumber();
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getSemester() {
        return semester;
    }

    public void setSemester(String semester) {
        this.semester = semester;
    }

    public String getWeekday() {
        return weekday;
    }

    public void setWeekday(String weekday) {
        this.weekday = weekday;
    }

    public String getSquence() {
        return squence;
    }

    public void setSquence(String squence) {
        this.squence = squence;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getClassroom() {
        return classroom;
    }

    public void setClassroom(String classroom) {
        this.classroom = classroom;
    }

    public String getClassname() {
        return classname;
    }

    public void setClassname(String classname) {
        this.classname = classname;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    @Override
    public String toString() {
        return "学期:"+this.semester+"\n"+this.weekday+"\n"+this.squence+"\n"+this.content+"\n"+this.classroom+"\n"+this.classname+"\n"+this.number;
    }
}
